<template>
    <span>{{ count }}: {{ flag === null ? '未完成' : flag ? '正确' : '错误' }}</span>

</template>

<script>
export default {
    props: {
        count: {
            type: Number
        },
        flag: {
            type: Boolean
        }
    },
};
</script>

<style scoped>
.right {
    color: green;
}

.error {
    color: red;
}

.undo {
    color: #ccc;
}
</style>